﻿namespace Twitter
{
	/// <summary>
	/// Pluggable component implemented by concrete bots, 
	/// which is used to send a welcome message to a 
	/// new user subscribing to the bot.
	/// </summary>
	public interface IGreeter
	{
		/// <summary>
		/// Send a welcome message to the <paramref name="newFriend"/> 
		/// when he joins the service provided by the bot.
		/// </summary>
		/// <param name="client">Bot API to send messages or perform 
		/// other actions upon a user joining the bot.</param>
		/// <param name="newFriend">The screenName of the new user.</param>
		void Greet(IBotClient client, string newFriend);
	}
}